package com.ad.backstage.model;

import com.ad.backstage.model.base.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author gdx
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PfAdvertisement对象", description="")
public class PfAdvertisement extends BaseModel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "广告图片地址")
    private String adImage;

    @ApiModelProperty(value = "广告跳转地址")
    private String adForwardUrl;

    @ApiModelProperty(value = "过期日期(商家缴费后广告在此日期前有效")
    private LocalDateTime adExpireDate;

    @ApiModelProperty(value = "商家id")
    private Integer merchantId;

    @ApiModelProperty(value = "广告生效日期")
    private LocalDateTime adEffectiveDate;

    @TableField(exist = false)
    private String merchantName;
}
